import Vue from 'vue'
import axios from 'axios'
import App from './App.vue'
import router from './router'
import store from './store'
import 'amfe-flexible'
import '@/utils/vant.js'
import 'vant/lib/index.css'
import '@/style/base.css'
import '@/style/fz.css'
// 搜素
import indexList from '@/components/indexList'
import vanTabber from '@/components/vanTabber'

axios.defaults.baseURL = '/api' //关键代码
// Vue.use(Vant)
Vue.config.productionTip = false
import clipboard from 'clipboard';
//注册到vue原型上
Vue.prototype.clipboard = clipboard;
Vue.component('indexList', indexList)
Vue.component('vanTabber', vanTabber)
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
